/**
 * org.vz.product.data.collect.service.impl
 * @since : jdk 1.8
 */
package org.vz.product.collect.maintain.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.vz.product.collect.maintain.dao.TransMapRowsDao;
import org.vz.product.collect.maintain.domain.TransMapRows;
import org.vz.product.collect.maintain.service.TransMapRowsService;

/**
 * @author      lanxuyu
 * @CreateTime  2017年09月07日 09:57:21
 * @version     1.0.0
 * @description TODO
 */
@Service
public class TransMapRowsServiceImpl implements TransMapRowsService{
	@Autowired
	TransMapRowsDao tmrDao;

	/* (non-Javadoc)
	 * @see org.vz.product.data.collect.service.TransMapRowsService#insert(org.vz.product.data.collect.domain.TransMapRows)
	 */
	@Override
	public void insert(TransMapRows transMapRows) {
		tmrDao.insertTemplate(transMapRows);
	}

	/* (non-Javadoc)
	 * @see org.vz.product.collect.maintain.service.TransMapRowsService#selectByIdBatch(java.lang.Long)
	 */
	@Override
	public List<TransMapRows> selectByIdBatch(TransMapRows transMapRows) {
		return tmrDao.getSQLManager().select("transmaprows.selectByIdBatch", TransMapRows.class,transMapRows);
		
	}


	


}
